{template 'common/header'}
<style type="text/css">
table li{padding:5px 0;}
small a{color:#999;}
</style>
<ul class="nav nav-tabs">
	<li  class="active"><a href="">用户详细信息</a></li>
</ul>
<div class="main">
	<div class="form form-horizontal">
		<h4>用户详细信息</h4>
		<table class="tb">
		<form action="">
			<input type="hidden" name="mid" value="{$user['id']}">
			<input type="hidden" name="flag" value="2">
			<input type="hidden" name="op" value="send">
			<input type="hidden" name="act" value="module" />
			<input type="hidden" name="name" value="broke" />
			<input type="hidden" name="do" value="commission" />
			
			<tr>
				<th style="width:200px"><label for="">真实姓名</label></th>
				<td>
					{if $user['realname']!=""} {$user['realname']}{else}未完善{/if}
				</td>
			</tr>
			<tr>
				<th style="width:200px"><label for="">手机号码</label></th>
				<td>
					{if $user['mobile']!=""} {$user['mobile']}{else}未完善{/if}
				</td>
			</tr>
			<tr>
				<th><label for="">已结佣金</label></th>
				<td>
					{$user['commission']}
				</td>
			</tr>
			<tr>
				<th><label for="">可结佣金</label></th>
				<td>
					<input name="commission" type="text" placeholder="{$comm}" value="" />
				</td>
			</tr>
			
			<tr>
				<th><label for="">备注</label></th>
				<td>
					<textarea type="text" name="content" ></textarea>
				</td>
			</tr>

			<tr>
				<th></th>
				<td>
					<input type="button" class="btn btn-primary span3" name="submit" onclick="history.go(-1)" value="返回" />
					<input type="submit" class="btn btn-primary span3" name="send"  value="充值" />
				</td>
			</tr>
			</form>
		</table>
		
		<table class="table table-hover">
			<thead class="navbar-inner">
				<tr>
					<th class="row-hover" style="text-align: center;">支付佣金</th>
					<th class="row-hover" style="text-align: center;">支付时间</th>
					<th class="row-hover" style="text-align: center;">备注</th>
					
				</tr>
			</thead>
			<tbody>
				{loop $list $v}
				<tr>
					<td style="text-align: center;">
						{$v['commission']}
					</td>
					<td style="text-align: center;">
						{php echo date('Y-m-d H:i:s',$v['createtime'])}
					</td>
					<td style="text-align: center;">
						{if empty($v['content'])}无{else}{$v['content']}{/if}
					</td>
				</tr>
				{/loop}
			</tbody>
		</table>
							
	</div>
</div>

{template 'common/footer'}
